Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(Requires #324 and #322 merged first)
Wieslaw's Dock always had a "pin dockable" option, but there was no option to "show temporarily" aka "auto-hide" a pinned dockable like in Visual Studio or AvalonDock. I believe an "auto-hide" pinning is more useful than just regular pinning, therefore this PR changes the behaviour of pinned dockables - now opening a pinned dockable, shows it only temporarily - until the user clicks elsewhere. See the video below:
Screen.Recording.2024-03-10.at.16.26.58.mp4
How this solution was implemented
IRootDock
has now a "pinned dock" property which represents a pinned Tool Dock that can be shown and hidden. This pinned dock is always pinned to one of the edges and can be resized thanks to GridSplitter. The Tool Dock is instantiated only once - only its VisibleDockables property is manipulated.